Ravenscar Protected Objects: a Circus Semantics
نویسندگان
چکیده
The Ravenscar pro le is a restricted subset of the Ada 95 tasking model | designed to provide a certi able deterministic tasking model that supports schedulability analysis and meets tight memory constraints and performance requirements. Centre to Ravenscar is the use of Ada protected objects as the means for ensuring mutually exclusive access to data shared between di erent tasks. In this report, Circus (a speci cation language that combines Z and CSP) is used to model Ada protected objects that comply with restrictions of the Ravenscar pro le. Also, formal proofs showing that the Circus model exhibits the desired properties will be provided; this is the rst time a model about the functional aspects of Ada protected objects has been introduced and formally veri ed. Finally, although some of the properties proved in this report are mainly about behaviour (e.g. freedom of deadlock), all the proofs in this report are conducted in Z. This is a new and interesting result as now Z tools, usually used for proofs about sequential programs, can be used to provide formal proofs of CSP properties, hence concurrent programs.
منابع مشابه
A Circus Semantics for Ravenscar Protected Objects
The Ravenscar profile is a subset of the Ada 95 tasking model: it is certifiable, deterministic, supports schedulability analysis, and meets tight memory constraints and performance requirements. A central feature of Ravenscar is the use of protected objects to ensure mutually exclusive access to shared data. We give a semantics to protected objects using Circus, a combination of Z and CSP, and...
متن کاملA Denotational Semantics for Circus
Circus specifications define both data and behavioural aspects of systems using a combination of Z and CSP. Previously, a denotational semantics has been given to Circus; however, as a shallow embedding of Circus in Z, it was not possible to use it to prove properties like the refinement laws that justify the distinguishing development technique associated with Circus. This work presents a fina...
متن کاملTowards Algebraic Semantics of Circus Time
Over the years, the Circus family of notation has been used for specification, programming, and verification by refinement in many applications. Circus Time, a timed variant of Circus, plays a key role in dealing with timed behaviours. While most of the semantic developments of Circus Time have tended to focus on the denotational and operational sides, the work on its algebraic semantics is fru...
متن کاملIsabelle/Circus: A Process Specification and Verification Environment
The Circus specification language combines elements for complex data and behavior specifications, using an integration of Z and CSP with a refinement calculus. Its semantics is based on Hoare and He’s unifying theories of programming (UTP). We develop a machine-checked, formal semantics based on a “shallow embedding” of Circus in Isabelle/UTP (our semantic theory of UTP based on Isabelle/HOL). ...
متن کاملTransparent Environment for Replicated Ravenscar Applications
This paper proposes an environment intended for the development of fault-tolerant real-time Ada 95 applications conforming to the Ravenscar profile. This environment is based on the transparent replication of application components, and it provides a set of generic task interaction objects, which are used as the basic building blocks of the supported applications. These objects provide the usua...
متن کامل